﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;


namespace IDAL
{
    /// <summary>
    /// ef数据上下文对象
    /// </summary>
public interface IDBContextFactory
    {
    /// <summary>
    /// 获取EF上下文
    /// </summary>
    /// <returns></returns>
    DbContext GetDbContext();
    }
}
